home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Burning & Media / GB-PVR 1.2.13 / GBPVR10213.msi / Cabs.w1.cab / SearchResults.aspx646 < prev    next >
Text File  |  2008-04-04  |  12KB  |  208 lines

  1. <%@ Page language="c#" Debug="true" Inherits="gbweb.SearchResults" CodeFile="SearchResults.aspx.cs" culture="auto" uiculture="auto" %>
  2. <%@ Register TagPrefix="gbpvr" TagName="Header" Src="Header.ascx" %>
  3. <%@ Register TagPrefix="gbpvr" TagName="Footer" Src="Footer.ascx" %>
  4. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  5. <HTML>
  6.     <HEAD>
  7.         <title>GBPVR - Advanced Episode Search Results</title>
  8.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  9.         <link runat="server" type="text/css" rel="stylesheet" href="CSSAdapters/CSS/TreeView.css"/>
  10.         <link rel="stylesheet" type="text/css" href="<%=System.Convert.ToString(Session["theme"])%>/styles.css"/>
  11.         <link rel="stylesheet"  type="text/css"  href="<%=System.Convert.ToString(Session["theme"])%>/TreeView.css"/>
  12.         <link rel="shortcut icon" type="image/gif" href="<%=System.Convert.ToString(Session["theme"])%>/favicon.gif">
  13.         <script language="javascript" src="public/scrolling.js"></script>
  14.         <script type="text/javascript">
  15.             function SelectAllCheckboxes(theBox) {
  16.                 var xState = theBox.checked;
  17.                 elm = theBox.form.elements;
  18.                 for(i = 0; i < elm.length; i++)
  19.                 {
  20.                     if (elm[i].type == "checkbox")
  21.                     {
  22.                         if (elm[i].checked != xState)
  23.                         {
  24.                             elm[i].click();
  25.                         }
  26.                     }
  27.                 }
  28.             }
  29.         </script>
  30.         <script language="javascript" src="public/popup.js"></script>
  31.         <script language="javascript" src="public/Ajax.js"></script>
  32.     <!--[if lt IE 7]>
  33.        <link runat="server" rel="stylesheet" href="CSSAdapters/CSS/BrowserSpecific/IEMenu6.css" type="text/css" id="IEMenu6CSS" />
  34.     <![endif]-->     
  35.     </HEAD>
  36.     <body class="tabbedpage" onload="GetServerTime(),GetReminders(), fixScrolling('hdnScrollState')">
  37.     <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
  38.             <Services>
  39.                 <asp:ServiceReference Path="~/AjaxService.asmx" />
  40.             </Services>
  41.         </asp:ScriptManager>
  42.     <form id="Form1" runat="server">
  43.     <input runat="server" type="hidden" id="hdnScrollState" style="width: 39px" />
  44.         <!-- Topbar begin -->
  45.         <gbpvr:Header id="header" runat="server" ActiveTab="searchResults" />
  46.         <!-- Topbar end -->
  47.         <table cellSpacing="0" cellPadding="0" width="100%" border="0">
  48.             <tr>
  49.                 <td align=left valign=top><IMG height="14" src="public/t.gif" width="1" border="0"></td>
  50.                 <td>
  51.                 <table cellSpacing="0" border="0" cellpadding="0">
  52.                     <tr>
  53.                         <td align=left valign=top id=timeDiv class=time></td>
  54.                         <td align=left valign=top><IMG height="1" src="public/t.gif" width="15" border="0"></td>
  55.                         <td align=left valign=top id=REMINDER_DIV class=time ></td>
  56.                     </tr>    
  57.                 </table>
  58.                 </td>
  59.             </tr>
  60.             <tr>
  61.                 <td width="10"><img src="public/t.gif" width="10" height="1" border="0"></td>
  62.                 <td width="99%" class="listing">
  63.                     
  64.                         <table border="0" cellspacing="0" cellpadding="0" width="100%">
  65.                             <tr>
  66.                                 <td width="99%" class="cline"><img src="public/t.gif" width="400" height="1" border="0"></td>
  67.                             </tr>
  68.                             <tr>
  69.                                 <td width="99%" valign="bottom"><span style="float: right"><a href="ColorCoding.aspx" onclick="EditPop4(this.href,'Add0');return false;" class="listing">Coloring Guide</a><IMG height="1" src="public/t.gif" width="4" border="0"></span>
  70.                                     <span class="date"> <IMG height="4" src="public/t.gif" width="1"><br>
  71.                                         <b>Advanced Episode Search Results</b></span></td>
  72.                             </tr>
  73.                         </table>
  74.                         <img src="public/t.gif" width="1" height="10"><br>
  75.                         <!-- Search Results table begin -->
  76.                         <blockquote>
  77.                             <table border="1" cellpadding="0" cellspacing="0">
  78.                                 <tr>
  79.                                     <td>
  80.                                         <TABLE class="listing" cellSpacing="0" cellPadding="10" width="100%" border="0">
  81.                                             <TR>
  82.                                                 <TD>
  83.                                                     <asp:RadioButtonList id="radioTime" runat="server" CssClass="listing" CellSpacing="0" CellPadding="0">
  84.                                                         <asp:ListItem Value="once" Selected="True">Once</asp:ListItem>
  85.                                                         <asp:ListItem Value="thisTime">This time slot</asp:ListItem>
  86.                                                         <asp:ListItem Value="anyTime">Any time slot</asp:ListItem>
  87.                                                     </asp:RadioButtonList>
  88.                                                 </TD>
  89.                                                 <TD>
  90.                                                     <asp:RadioButtonList id="radioDay" runat="server" CssClass="listing" CellSpacing="0" CellPadding="0">
  91.                                                         <asp:ListItem Value="thisDay" Selected="True">This day only</asp:ListItem>
  92.                                                         <asp:ListItem Value="anyDay">Any Day</asp:ListItem>
  93.                                                         <asp:ListItem Value="specificDays">Specific day(s)</asp:ListItem>
  94.                                                     </asp:RadioButtonList>
  95.                                                 </TD>
  96.                                             </TR>
  97.                                             <TR>
  98.                                                 <TD>
  99.                                                     Quality:<BR>
  100.                                                     <asp:DropDownList id="quality" runat="server">
  101.                                                         <asp:ListItem Value="High">High</asp:ListItem>
  102.                                                         <asp:ListItem Value="Medium" Selected="True">Medium</asp:ListItem>
  103.                                                         <asp:ListItem Value="Low">Low</asp:ListItem>
  104.                                                         <asp:ListItem Value="Custom1">Custom1</asp:ListItem>
  105.                                                         <asp:ListItem Value="Custom2">Custom2</asp:ListItem>
  106.                                                         <asp:ListItem></asp:ListItem>
  107.                                                     </asp:DropDownList><BR>
  108.                                                     <BR>
  109.                                                     Recordings to keep:<BR>
  110.                                                     <asp:TextBox id="keepRecordings" runat="server" Columns="3" MaxLength="3">0</asp:TextBox>
  111.                                                     (0 = all)
  112.                                                     <BR>
  113.                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="keepRecordings"
  114.                                                         ErrorMessage="Value must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator><br />
  115.                                                     Padding:<br />
  116.                                                     <img border="0" height="10" src="public/t.gif" width="10" />Pre:
  117.                                                     <asp:TextBox ID="prePadding" runat="server" Columns="3" MaxLength="3" Width="28px">0</asp:TextBox> 
  118.                                                     Post:
  119.                                                     <asp:TextBox ID="postPadding" runat="server" Columns="3" MaxLength="3" Width="28px">0</asp:TextBox><br />
  120.                                                     Extend End Time Minutes:
  121.                                                     <asp:TextBox ID="extendMinutes" runat="server" Columns="3" MaxLength="3" Width="28px">0</asp:TextBox>
  122.                                                      <br />
  123.                                                     <img border="0" height="10" src="public/t.gif" width="10" />
  124.                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="prePadding"
  125.                                                         ErrorMessage="Pre-padding must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator><br />
  126.                                                     <img border="0" height="10" src="public/t.gif" width="10" />
  127.                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="postPadding"
  128.                                                         ErrorMessage="Post-padding must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator> <br />
  129.                                                     <img border="0" height="10" src="public/t.gif" width="10" />
  130.                                                     <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" ControlToValidate="extendMinutes"
  131.                                                         ErrorMessage="Extend minutes must be numeric" ValidationExpression="^([-]|[0-9])[0-9]*$"></asp:RegularExpressionValidator></TD>
  132.                                                 <TD>
  133.                                                     <asp:CheckBoxList id="checkedDays" runat="server" CssClass="listing" RepeatColumns="2">
  134.                                                         <asp:ListItem Value="monday">Monday</asp:ListItem>
  135.                                                         <asp:ListItem Value="tuesday">Tuesday</asp:ListItem>
  136.                                                         <asp:ListItem Value="wednesday">Wednesday</asp:ListItem>
  137.                                                         <asp:ListItem Value="thursday">Thursday</asp:ListItem>
  138.                                                         <asp:ListItem Value="friday">Friday</asp:ListItem>
  139.                                                         <asp:ListItem Value="saturday">Saturday</asp:ListItem>
  140.                                                         <asp:ListItem Value="sunday">Sunday</asp:ListItem>
  141.                                                     </asp:CheckBoxList>
  142.                                                 </TD>
  143.                                             </TR>
  144.                                             <TR>
  145.                                                 <TD vAlign="middle" align="center" colspan="2">
  146.                                                     <DIV style="WIDTH: 115px">
  147.                                                         <asp:LinkButton id="hlRecord" runat="server" CssClass="btn-normal-small" onclick="hlRecord_Click">
  148.                                                             <span>Record</span></asp:LinkButton></DIV>
  149.                                                 </TD>
  150.                                             </TR>
  151.                                         </TABLE>
  152.                                     </td>
  153.                                 </tr>
  154.                             </table>
  155.                         </blockquote>
  156.                     <table border="0" class="listing">
  157.                         <tr>
  158.                             <td style="width: 115px">
  159.                                 Show Results In:</td>
  160.                             <td style="width: 546px">
  161.                                 <asp:RadioButtonList ID="sr_searchResults" runat="server" AutoPostBack="True" CssClass="listing"
  162.                                     RepeatDirection="Horizontal" RepeatLayout="Flow" Width="485px">
  163.                                     <asp:ListItem Value="tree">TreeView</asp:ListItem>
  164.                                     <asp:ListItem Selected="True" Value="table">Table View</asp:ListItem>
  165.                                 </asp:RadioButtonList></td>
  166.                         </tr>        
  167.                     <span runat="server" id="treeViewSortOptions">    
  168.                             <tr>
  169.                                 <td style="width: 115px">
  170.                         Sort Order:</td>
  171.                                 <td style="width: 546px">
  172.                                     <asp:RadioButtonList ID="srtOrder" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
  173.                                         RepeatLayout="Flow">
  174.                                         <asp:ListItem Selected="True" Value="title">Title</asp:ListItem>
  175.                                         <asp:ListItem Value="genre">Genre</asp:ListItem>
  176.                                         <asp:ListItem Value="rating">Rating</asp:ListItem>
  177.                                         <asp:ListItem Value="date">Air Date (ad)</asp:ListItem>
  178.                                         <asp:ListItem Value="channel">Channel</asp:ListItem>
  179.                                         <asp:ListItem Value="status">Status</asp:ListItem>
  180.                                     </asp:RadioButtonList></td>
  181.                             </tr>
  182.                     </span>
  183.                     </table>    
  184.                     <table cellSpacing="1" cellPadding="1" border="0">
  185.                        <TR>
  186.                             <TD align="center" class="listing"><asp:label id="RecordMessage" runat="server" Visible="False" CssClass="conflict">Record Message</asp:label></TD>
  187.                             <TD align="center"><asp:dropdownlist id="Recordings" Visible="False" runat="server"></asp:dropdownlist></TD>
  188.                        </TR>
  189.                     </table>
  190.                     <BR>    
  191.                     <span runat="server" id="tableView">    
  192.                         <asp:table CssClass="searchTable" id="tableResults" runat="server" width="95%" gridlines="Both"
  193.                             BorderWidth="0px" CellPadding="6" CellSpacing="1"></asp:table>
  194.                     </span>    
  195.                     <!-- Search Results table end -->
  196.                     <gbpvr:Footer id="footer" runat="server" />
  197.                 </td>
  198.                 <td width="10"><IMG height="71" src="public/t.gif" width="10" border="0"></td>
  199.             </tr>
  200.         </table>
  201.         <div runat="server" id="treeView">    
  202.             <asp:TreeView ID="TreeView1" runat="server" ExpandDepth="0" CssSelectorClass="TreeView">
  203.             </asp:TreeView>
  204.         </div>
  205.         </form>
  206.     </body>
  207. </HTML>
  208.